gsk: Avoid empty glyphs early
authorMatthias Clasen <mclasen@redhat.com>
Mon, 29 Mar 2021 00:22:24 +0000 (20:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 30 Mar 2021 04:34:52 +0000 (00:34 -0400)
commit2c33550048f5dd1accd629163cc363122b6a3cd3
tree9f742620b22ba4e13d3bb9c02d6b7a0d62fd5443
parent3add99a9a84845757e76d49f9c887f5d7a074637
gsk: Avoid empty glyphs early

Strip out PANGO_GLYPH_EMPTY when text nodes are
constructed. Then we don't have to check this special
case in the inner loop in visit_text_node.
gsk/gskrendernodeimpl.c
gsk/ngl/gsknglrenderjob.c